package com.rt.code.dto;

import com.rt.easyjava.common.enums.DeleteFlag;

import java.io.Serializable;

/**
 * Created by wxy on 2017/8/26.
 */
public class A1templatecolumnDto implements Serializable {

    private static final long serialVersionUID = 1L;

    //----------------------------------------
    // model
    //----------------------------------------
    private String id;
    private String columnname;
    private String columnnamesql;
    private String columnnamesqlsum;
    private String columnshowname;
    private String comment;
    private String isfrozencolumn;
    private String needsum;
    private String sort;
    private String a1templatetableId;
    private String ishidden;
    private String canadd;
    private String isquery;
    private String columntype;
    private String issortcolumn;
    private String optionssql;
    private String dataresource;
    private String optionspage;
    private String tablealiasname;
    private String columnwidth;

    private String createdate;
    private String createman;
    private String deleteflag;
    private String modifydate;
    private String modifyman;
    private String inputwidth4adddialog;
    private String linewidth4adddialog;
    private String required4adddialog;
    private String dataoptions4adddialog;
    private String style4adddialog;
    private String charttype;
    private String columnDatatype;
    private String columnIsnotnull;
    private String queryType;
    private String defaultValue;
    private String columnTip;
    private String dataTransfer;
    private String columnlayoutStyle4adddialog;
    private String createmanId;
    private String modifymanId;
    private String companyId;

    //----------------------------------------
    // 与页面交互时的参数
    //----------------------------------------
    private String createdate_Start;
    private String createdate_End;
    private String modifydate_Start;
    private String modifydate_End;

    //多选项Options，加_Str做数据显示
    private String deleteflag_Str;


    private String keyRandom;
    //=====================================================
    // setter getter method
    //=====================================================

    public String getDeleteflag_Str(){
        deleteflag_Str = DeleteFlag.explain(Integer.parseInt(deleteflag),"");
        return deleteflag_Str;
    }
    public void setDeleteflag_Str(String deleteflag_Str){
        this.deleteflag_Str = deleteflag_Str;
    }

    public String getId(){
        return this.id;
    }
    public void setId(String id){
        this.id=id;
    }
    public String getColumnname(){
        return this.columnname;
    }
    public void setColumnname(String columnname){
        this.columnname=columnname;
    }
    public String getColumnnamesql(){
        return this.columnnamesql;
    }
    public void setColumnnamesql(String columnnamesql){
        this.columnnamesql=columnnamesql;
    }
    public String getColumnnamesqlsum(){
        return this.columnnamesqlsum;
    }
    public void setColumnnamesqlsum(String columnnamesqlsum){
        this.columnnamesqlsum=columnnamesqlsum;
    }
    public String getColumnshowname(){
        return this.columnshowname;
    }
    public void setColumnshowname(String columnshowname){
        this.columnshowname=columnshowname;
    }
    public String getIsfrozencolumn(){
        return this.isfrozencolumn;
    }
    public void setIsfrozencolumn(String isfrozencolumn){
        this.isfrozencolumn=isfrozencolumn;
    }
    public String getNeedsum(){
        return this.needsum;
    }
    public void setNeedsum(String needsum){
        this.needsum=needsum;
    }
    public String getSort(){
        return this.sort;
    }
    public void setSort(String sort){
        this.sort=sort;
    }
    public String getA1templatetableId(){
        return this.a1templatetableId;
    }
    public void setA1templatetableId(String a1templatetableId){
        this.a1templatetableId=a1templatetableId;
    }
    public String getIshidden(){
        return this.ishidden;
    }
    public void setIshidden(String ishidden){
        this.ishidden=ishidden;
    }
    public String getCanadd(){
        return this.canadd;
    }
    public void setCanadd(String canadd){
        this.canadd=canadd;
    }
    public String getIsquery(){
        return this.isquery;
    }
    public void setIsquery(String isquery){
        this.isquery=isquery;
    }
    public String getColumntype(){
        return this.columntype;
    }
    public void setColumntype(String columntype){
        this.columntype=columntype;
    }
    public String getIssortcolumn(){
        return this.issortcolumn;
    }
    public void setIssortcolumn(String issortcolumn){
        this.issortcolumn=issortcolumn;
    }
    public String getOptionssql(){
        return this.optionssql;
    }
    public void setOptionssql(String optionssql){
        this.optionssql=optionssql;
    }
    public String getDataresource(){
        return this.dataresource;
    }
    public void setDataresource(String dataresource){
        this.dataresource=dataresource;
    }
    public String getOptionspage(){
        return this.optionspage;
    }
    public void setOptionspage(String optionspage){
        this.optionspage=optionspage;
    }
    public String getTablealiasname(){
        return this.tablealiasname;
    }
    public void setTablealiasname(String tablealiasname){
        this.tablealiasname=tablealiasname;
    }
    public String getColumnwidth(){
        return this.columnwidth;
    }
    public void setColumnwidth(String columnwidth){
        this.columnwidth=columnwidth;
    }
    public String getCreatedate(){
        return this.createdate;
    }
    public void setCreatedate(String createdate){
        this.createdate=createdate;
    }
    public String getCreateman(){
        return this.createman;
    }
    public void setCreateman(String createman){
        this.createman=createman;
    }
    public String getDeleteflag(){
        return this.deleteflag;
    }
    public void setDeleteflag(String deleteflag){
        this.deleteflag=deleteflag;
    }
    public String getModifydate(){
        return this.modifydate;
    }
    public void setModifydate(String modifydate){
        this.modifydate=modifydate;
    }
    public String getModifyman(){
        return this.modifyman;
    }
    public void setModifyman(String modifyman){
        this.modifyman=modifyman;
    }
    public String getInputwidth4adddialog(){
        return this.inputwidth4adddialog;
    }
    public void setInputwidth4adddialog(String inputwidth4adddialog){
        this.inputwidth4adddialog=inputwidth4adddialog;
    }
    public String getLinewidth4adddialog(){
        return this.linewidth4adddialog;
    }
    public void setLinewidth4adddialog(String linewidth4adddialog){
        this.linewidth4adddialog=linewidth4adddialog;
    }
    public String getRequired4adddialog(){
        return this.required4adddialog;
    }
    public void setRequired4adddialog(String required4adddialog){
        this.required4adddialog=required4adddialog;
    }
    public String getDataoptions4adddialog(){
        return this.dataoptions4adddialog;
    }
    public void setDataoptions4adddialog(String dataoptions4adddialog){
        this.dataoptions4adddialog=dataoptions4adddialog;
    }
    public String getStyle4adddialog(){
        return this.style4adddialog;
    }
    public void setStyle4adddialog(String style4adddialog){
        this.style4adddialog=style4adddialog;
    }
    public String getCharttype(){
        return this.charttype;
    }
    public void setCharttype(String charttype){
        this.charttype=charttype;
    }
    public String getColumnDatatype(){
        return this.columnDatatype;
    }
    public void setColumnDatatype(String columnDatatype){
        this.columnDatatype=columnDatatype;
    }
    public String getColumnIsnotnull(){
        return this.columnIsnotnull;
    }
    public void setColumnIsnotnull(String columnIsnotnull){
        this.columnIsnotnull=columnIsnotnull;
    }
    public String getQueryType(){
        return this.queryType;
    }
    public void setQueryType(String queryType){
        this.queryType=queryType;
    }
    public String getDefaultValue(){
        return this.defaultValue;
    }
    public void setDefaultValue(String defaultValue){
        this.defaultValue=defaultValue;
    }
    public String getColumnTip(){
        return this.columnTip;
    }
    public void setColumnTip(String columnTip){
        this.columnTip=columnTip;
    }
    public String getDataTransfer(){
        return this.dataTransfer;
    }
    public void setDataTransfer(String dataTransfer){
        this.dataTransfer=dataTransfer;
    }
    public String getColumnlayoutStyle4adddialog(){
        return this.columnlayoutStyle4adddialog;
    }
    public void setColumnlayoutStyle4adddialog(String columnlayoutStyle4adddialog){
        this.columnlayoutStyle4adddialog=columnlayoutStyle4adddialog;
    }
    public String getCreatemanId(){
        return this.createmanId;
    }
    public void setCreatemanId(String createmanId){
        this.createmanId=createmanId;
    }
    public String getModifymanId(){
        return this.modifymanId;
    }
    public void setModifymanId(String modifymanId){
        this.modifymanId=modifymanId;
    }
    public String getCompanyId(){
        return this.companyId;
    }
    public void setCompanyId(String companyId){
        this.companyId=companyId;
    }

    public String getCreatedate_Start(){
        return createdate_Start;
    }
    public void setCreatedate_Start(String createdate_Start){
        this.createdate_Start = createdate_Start;
    }
    public String getCreatedate_End(){
        return createdate_End;
    }
    public void setCreatedate_End(String createdate_End){
        this.createdate_End = createdate_End;
    }
    public String getModifydate_Start(){
        return modifydate_Start;
    }
    public void setModifydate_Start(String modifydate_Start){
        this.modifydate_Start = modifydate_Start;
    }
    public String getModifydate_End(){
        return modifydate_End;
    }
    public void setModifydate_End(String modifydate_End){
        this.modifydate_End = modifydate_End;
    }

    public String getKeyRandom() {
        return keyRandom;
    }

    public void setKeyRandom(String keyRandom) {
        this.keyRandom = keyRandom;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
